<script>
export default {
  props: ["node"],
  data() {
    return {};
  },

  created(){
    this.$set(this.node,'hint', '请输入');
  },

  render() {
    return (
      <el-input
        type="textarea"
        rows={4}
        value={this.node.answer}
        placeholder={this.node.hint}
        onInput={(e) => {
          this.node.answer = e;
          this.$forceUpdate();
        }}
        size="small"
        clearable
      ></el-input>
    );
  },
  
};
</script>

<style scoped>
</style>